package com.googlecode.pwlodars.piteststat.statistics;

import java.util.List;

import com.googlecode.pwlodars.piteststat.content.PitestSingleResult;

public class AveragesCalculkator {

	
	public int calculateAverageMutationalCoverage(List<PitestSingleResult> items){
		int sum=0;
		for (PitestSingleResult item : items) {
			sum+=item.getMutationCoverage();
		}
		return sum/items.size();
	}
}
